﻿using UnityEngine;
using System.Collections;


namespace Battle
{
    public class FirstCGPanel : MonoBehaviour
    {
        View.BattleViewFirstCtrl viewCtrl = null;

        public void Init(View.BattleViewFirstCtrl viewCtrl)
        {
            this.viewCtrl = viewCtrl;
            Show();
        }

        public void Show()
        {
            gameObject.SetActive(true);
        }

        public void Hide()
        {
            gameObject.SetActive(false);
        }

        public void OnSkipButtonClick()
        {
            if (viewCtrl != null)
            {
                viewCtrl.SkipStory();
            }
        }
    }
}